home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 May / macpower199705.bin / AMUG / UTILITY / Clicker 4.0.sit / Clicker 4.0 / For Programmers / Clicker Glue.h < prev    next >
MacBinary  |  1996-12-01  |  2.1 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Dec 1 11:37:40 1996, modified Sun Dec 1 11:37:40 1996, creator 'CWIE', type ASCII, 1436 bytes "Clicker Glue.h" , at 0x61c 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 43 6c 69 63 6b 65 | 72 20 47 6c 75 65 2e 68 |..Clicke|r Glue.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 05 9c 00 | 00 01 9a ae c7 64 d4 ae |........|.....d..|
|00000060| c7 64 d4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.d......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 10 2e 00 00 |........|........|
|00000080| 2f 2a 0d 09 09 46 69 6c | 65 3a 09 09 43 6c 69 63 |/*...Fil|e:..Clic|
|00000090| 6b 65 72 20 47 6c 75 65 | 2e 68 0d 09 09 0d 09 09 |ker Glue|.h......|
|000000a0| 43 6f 6e 74 65 6e 74 73 | 3a 09 48 65 61 64 65 72 |Contents|:.Header|
|000000b0| 20 66 69 6c 65 20 66 6f | 72 20 43 6c 69 63 6b 65 | file fo|r Clicke|
|000000c0| 72 20 67 6c 75 65 20 63 | 6f 64 65 0d 09 09 0d 09 |r glue c|ode.....|
|000000d0| 09 43 6f 70 79 72 69 67 | 68 74 3a 09 a9 20 62 79 |.Copyrig|ht:.. by|
|000000e0| 20 4d 61 6e 75 65 6c 20 | 4b 61 73 70 65 72 2c 20 | Manuel |Kasper, |
|000000f0| 42 6c 75 65 20 49 63 65 | 20 53 6f 66 74 77 61 72 |Blue Ice| Softwar|
|00000100| 65 2e 0d 09 09 09 09 09 | 41 6c 6c 20 72 69 67 68 |e.......|All righ|
|00000110| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0d 2a 2f 0d |ts reser|ved..*/.|
|00000120| 0d 2f 2a 0d 09 4e 6f 74 | 65 20 74 68 61 74 20 74 |./*..Not|e that t|
|00000130| 68 65 20 72 6f 75 74 69 | 6e 65 73 20 6c 69 73 74 |he routi|nes list|
|00000140| 65 64 20 68 65 72 65 20 | 73 68 6f 75 6c 64 20 77 |ed here |should w|
|00000150| 6f 72 6b 20 77 69 74 68 | 20 65 76 65 72 79 20 76 |ork with| every v|
|00000160| 65 72 73 69 6f 6e 20 6f | 66 20 43 6c 69 63 6b 65 |ersion o|f Clicke|
|00000170| 72 2c 20 73 74 61 72 74 | 69 6e 67 0d 09 77 69 74 |r, start|ing..wit|
|00000180| 68 20 76 34 2e 30 2e 20 | 49 66 20 69 20 6d 61 6b |h v4.0. |If i mak|
|00000190| 65 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 65 |e change|s to the|
|000001a0| 20 69 6e 74 65 72 6e 61 | 6c 20 64 61 74 61 20 73 | interna|l data s|
|000001b0| 74 72 75 63 74 75 72 65 | 73 2c 20 69 27 6c 6c 20 |tructure|s, i'll |
|000001c0| 6d 61 6b 65 20 74 68 65 | 6d 20 69 6e 20 61 20 77 |make the|m in a w|
|000001d0| 61 79 0d 09 74 68 61 74 | 20 69 73 20 63 6f 6d 70 |ay..that| is comp|
|000001e0| 61 74 69 62 6c 65 20 77 | 69 74 68 20 65 78 69 73 |atible w|ith exis|
|000001f0| 74 69 6e 67 20 70 72 6f | 67 72 61 6d 73 20 75 73 |ting pro|grams us|
|00000200| 69 6e 67 20 74 68 65 20 | 67 6c 75 65 2e 0d 2a 2f |ing the |glue..*/|
|00000210| 0d 0d 2f 2a 20 54 68 69 | 73 20 65 6e 75 6d 27 73 |../* Thi|s enum's|
|00000220| 20 64 65 66 69 6e 65 20 | 74 68 65 20 61 63 74 69 | define |the acti|
|00000230| 6f 6e 73 20 79 6f 75 20 | 63 61 6e 20 73 65 74 20 |ons you |can set |
|00000240| 6f 6e 20 6f 72 20 6f 66 | 66 20 75 73 69 6e 67 20 |on or of|f using |
|00000250| 53 65 74 41 63 74 69 6f | 6e 42 69 74 28 29 20 2a |SetActio|nBit() *|
|00000260| 2f 0d 65 6e 75 6d 20 7b | 0d 09 6d 6f 75 73 65 44 |/.enum {|..mouseD|
|00000270| 6f 77 6e 42 69 74 20 3d | 20 30 2c 09 09 2f 2a 20 |ownBit =| 0,../* |
|00000280| 53 6f 75 6e 64 20 6f 6e | 20 4d 6f 75 73 65 20 44 |Sound on| Mouse D|
|00000290| 6f 77 6e 20 2a 2f 0d 09 | 6d 6f 75 73 65 55 70 42 |own */..|mouseUpB|
|000002a0| 69 74 2c 09 09 09 09 2f | 2a 20 53 6f 75 6e 64 20 |it,..../|* Sound |
|000002b0| 6f 6e 20 4d 6f 75 73 65 | 20 55 70 20 2a 2f 0d 09 |on Mouse| Up */..|
|000002c0| 6b 65 79 44 6f 77 6e 42 | 69 74 2c 09 09 09 09 2f |keyDownB|it,..../|
|000002d0| 2a 20 53 6f 75 6e 64 20 | 6f 6e 20 4b 65 79 20 44 |* Sound |on Key D|
|000002e0| 6f 77 6e 20 2a 2f 0d 09 | 73 70 61 63 65 42 69 74 |own */..|spaceBit|
|000002f0| 2c 09 09 09 09 2f 2a 20 | 53 6f 75 6e 64 20 6f 6e |,..../* |Sound on|
|00000300| 20 53 70 61 63 65 20 2a | 2f 0d 09 72 65 74 75 72 | Space *|/..retur|
|00000310| 6e 42 69 74 2c 09 09 09 | 09 2f 2a 20 53 6f 75 6e |nBit,...|./* Soun|
|00000320| 64 20 6f 6e 20 52 65 74 | 75 72 6e 20 2a 2f 0d 09 |d on Ret|urn */..|
|00000330| 74 61 62 42 69 74 2c 09 | 09 09 09 09 2f 2a 20 53 |tabBit,.|..../* S|
|00000340| 6f 75 6e 64 20 6f 6e 20 | 54 61 62 20 2a 2f 0d 09 |ound on |Tab */..|
|00000350| 64 65 6c 65 74 65 42 69 | 74 09 09 09 09 2f 2a 20 |deleteBi|t..../* |
|00000360| 53 6f 75 6e 64 20 6f 6e | 20 44 65 6c 65 74 65 20 |Sound on| Delete |
|00000370| 2a 2f 0d 7d 3b 0d 0d 2f | 2a 20 54 68 69 73 20 72 |*/.};../|* This r|
|00000380| 6f 75 74 69 6e 65 20 64 | 65 74 65 72 6d 69 6e 65 |outine d|etermine|
|00000390| 73 20 77 68 65 74 68 65 | 72 20 43 6c 69 63 6b 65 |s whethe|r Clicke|
|000003a0| 72 20 69 73 20 69 6e 73 | 74 61 6c 6c 65 64 2e 20 |r is ins|talled. |
|000003b0| 2a 2f 0d 42 6f 6f 6c 65 | 61 6e 20 43 6c 69 63 6b |*/.Boole|an Click|
|000003c0| 65 72 49 73 49 6e 73 74 | 61 6c 6c 65 64 28 76 6f |erIsInst|alled(vo|
|000003d0| 69 64 29 3b 0d 0d 2f 2a | 20 55 73 65 20 74 68 69 |id);../*| Use thi|
|000003e0| 73 20 72 6f 75 74 69 6e | 65 20 74 6f 20 64 65 74 |s routin|e to det|
|000003f0| 65 72 6d 69 6e 65 20 77 | 68 65 74 68 65 72 20 43 |ermine w|hether C|
|00000400| 6c 69 63 6b 65 72 20 69 | 73 20 6f 6e 20 6f 72 20 |licker i|s on or |
|00000410| 6f 66 66 2e 20 2a 2f 0d | 42 6f 6f 6c 65 61 6e 20 |off. */.|Boolean |
|00000420| 43 6c 69 63 6b 65 72 4f | 6e 28 76 6f 69 64 29 3b |ClickerO|n(void);|
|00000430| 0d 0d 2f 2a 20 55 73 65 | 20 74 68 69 73 20 72 6f |../* Use| this ro|
|00000440| 75 74 69 6e 65 20 74 6f | 20 73 65 74 20 43 6c 69 |utine to| set Cli|
|00000450| 63 6b 65 72 20 6f 6e 20 | 6f 72 20 6f 66 66 20 2a |cker on |or off *|
|00000460| 2f 0d 76 6f 69 64 20 53 | 65 74 43 6c 69 63 6b 65 |/.void S|etClicke|
|00000470| 72 28 42 6f 6f 6c 65 61 | 6e 20 43 6c 69 63 6b 65 |r(Boolea|n Clicke|
|00000480| 72 4f 6e 29 3b 0d 0d 2f | 2a 20 55 73 65 20 74 68 |rOn);../|* Use th|
|00000490| 69 73 20 72 6f 75 74 69 | 6e 65 20 74 6f 20 73 65 |is routi|ne to se|
|000004a0| 74 20 74 68 65 20 61 63 | 74 69 6f 6e 20 62 69 74 |t the ac|tion bit|
|000004b0| 73 2e 20 2a 2f 0d 76 6f | 69 64 20 53 65 74 41 63 |s. */.vo|id SetAc|
|000004c0| 74 69 6f 6e 42 69 74 28 | 73 68 6f 72 74 20 74 68 |tionBit(|short th|
|000004d0| 65 41 63 74 69 6f 6e 2c | 20 42 6f 6f 6c 65 61 6e |eAction,| Boolean|
|000004e0| 20 53 65 74 4f 6e 29 3b | 0d 0d 2f 2a 20 47 69 76 | SetOn);|../* Giv|
|000004f0| 65 73 20 79 6f 75 20 74 | 68 65 20 6e 75 6d 62 65 |es you t|he numbe|
|00000500| 72 20 6f 66 20 6d 6f 75 | 73 65 20 63 6c 69 63 6b |r of mou|se click|
|00000510| 73 20 74 68 65 20 75 73 | 65 72 20 68 61 73 20 64 |s the us|er has d|
|00000520| 6f 6e 65 20 2a 2f 0d 6c | 6f 6e 67 20 47 65 74 4d |one */.l|ong GetM|
|00000530| 6f 75 73 65 43 6c 69 63 | 6b 73 28 76 6f 69 64 29 |ouseClic|ks(void)|
|00000540| 3b 0d 0d 2f 2a 20 47 69 | 76 65 73 20 79 6f 75 20 |;../* Gi|ves you |
|00000550| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6b 65 |the numb|er of ke|
|00000560| 79 20 63 6c 69 63 6b 73 | 20 74 68 65 20 75 73 65 |y clicks| the use|
|00000570| 72 20 68 61 73 20 64 6f | 6e 65 20 2a 2f 0d 6c 6f |r has do|ne */.lo|
|00000580| 6e 67 20 47 65 74 4b 65 | 79 43 6c 69 63 6b 73 28 |ng GetKe|yClicks(|
|00000590| 76 6f 69 64 29 3b 0d 0d | 2f 2a 20 54 68 69 73 20 |void);..|/* This |
|000005a0| 72 6f 75 74 69 6e 65 73 | 20 67 69 76 65 73 20 79 |routines| gives y|
|000005b0| 6f 75 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |ou the n|ame of t|
|000005c0| 68 65 20 75 73 65 72 20 | 28 69 66 20 72 65 67 69 |he user |(if regi|
|000005d0| 73 74 65 72 65 64 29 2c | 20 6f 72 20 22 4e 6f 74 |stered),| or "Not|
|000005e0| 20 72 65 67 69 73 74 65 | 72 65 64 22 20 6f 74 68 | registe|red" oth|
|000005f0| 65 72 77 69 73 65 2e 20 | 2a 2f 0d 76 6f 69 64 20 |erwise. |*/.void |
|00000600| 47 65 74 55 73 65 72 4e | 61 6d 65 28 53 74 72 32 |GetUserN|ame(Str2|
|00000610| 35 35 20 74 68 65 4e 61 | 6d 65 29 3b 00 00 00 00 |55 theNa|me);....|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000690| 66 6f 72 20 50 50 43 20 | 6f 6e 6c 79 29 00 00 00 |for PPC |only)...|
|000006a0| 00 00 00 04 00 00 e5 1b | ae b7 5e bf 18 4e 65 74 |........|..^..Net|
|000006b0| 0e 43 6c 69 63 6b 65 72 | 20 47 6c 75 65 2e 68 47 |.Clicker| Glue.hG|
|000006c0| 02 00 00 00 50 61 72 74 | 53 49 54 21 00 00 00 00 |....Part|SIT!....|
|000006d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 ae f3 3a 48 00 00 | 00 00 00 00 01 9a 02 3e |....:H..|.......>|
|00000700| ae b8 b8 a7 0f 44 4f 43 | 4d 61 6b 65 72 20 76 34 |.....DOC|Maker v4|
|00000710| 2e 36 2e 31 00 00 00 00 | 00 00 00 00 00 00 00 00 |.6.1....|........|
|00000720| 00 00 00 00 00 00 00 01 | 00 00 00 b4 ae b9 f4 64 |........|.......d|
|00000730| 16 54 79 70 65 20 26 20 | 43 72 65 61 74 6f 72 20 |.Type & |Creator |
|00000740| 4d 61 63 68 69 6e 65 00 | 00 00 00 00 00 00 00 00 |Machine.|........|
|00000750| 00 00 00 03 00 00 01 57 | ae b9 f4 e4 0c 51 75 61 |.......W|.....Qua|
|00000760| 72 6b 58 50 72 65 73 73 | aa 00 00 00 00 00 00 00 |rkXPress|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000780| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 03 | 00 04 00 58 00 05 01 da |........|...X....|
|000007b0| 02 7a 00 58 00 05 01 da | 02 7a ae de e1 83 00 00 |.z.X....|.z......|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000007d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000007e0| 00 00 00 46 00 92 ad 88 | 16 68 00 00 00 1c 00 46 |...F....|.h.....F|
|000007f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000800| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000810| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+